package com.whfc.common.geometry;

import lombok.Data;

import java.util.List;

/**
 * 多边形
 */
@Data
public class Polygon extends Geometry {

    /**
     * 点集合
     */
    List<Point> pointList;

    public Polygon() {
    }

    public Polygon(List<Point> pointList) {
        this.pointList = pointList;
    }
}
